package com.example.newtown;

import android.graphics.Bitmap;
import android.graphics.Rect;

public class ExplosionEffect extends SpriteAnimation {

	public ExplosionEffect(Bitmap bitmap, int framePerSecond, int frameCount, Rect area) {
		super(bitmap, framePerSecond, frameCount, 5);
		
		loop = false;
		
		int ax = 
			area.width() /2;
		int ay =
			area.height() / 2;
		
		setPosition(area.left + ax, area.top + ay);
	}
	

}
